package org.jeecg.modules.wlhy.hyvehicle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.wlhy.hyvehicle.entity.HyDriverVehicle;

import java.util.List;

/**
 * @Description: 司机车辆关系表
 * @Author: duanlikao
 * @Date:   2020-12-28
 * @Version: V1.0
 */
public interface IHyDriverVehicleService extends IService<HyDriverVehicle> {

    HyDriverVehicle getInfoByDriverIdAndVehicleId (String driverId ,String vehicleId);

    List <String>  getVehicleIdListByDriverId (String driverId );
    //根据车辆id查询司机id
    List <String>  getDriverIdListByVehicleId (String vehicleId );

   Boolean updateByVehicleId(String vehicleId,String izUsed );

    List<HyDriverVehicle> getInfoByVehicleId (String vehicleId);


}
